﻿@model ShoppingCart.Domain.Entities.Cart

@{
    Layout = null;
}

<div id="cart">
    <span class="">
        
        <b>Your cart:</b>
        @Model.Lines.Sum(x => x.Quantity) item(s),            
        @Model.ComputeTotalValue().ToString("c")
    </span>
        
   <b>  @Html.ActionLink("Basket", "Index", "Cart", 
        new { returnUrl = Request.Url.PathAndQuery }, null)
        @Html.ActionLink("Admin", "Index", "Admin"); </b>
</div>
